package com.hongye.house.fegin;

import com.hongye.common.entity.AgentUserEntity;
import com.hongye.common.entity.UserHomeEntity;
import com.hongye.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("hongye-proprietary")
public interface ProprietaryFeign {

    @RequestMapping("proprietary/agentuser/hotlist")
    List<AgentUserEntity> hotagent();
    @RequestMapping("proprietary/userhome/list2")
    List<UserHomeEntity> getlist();

    @RequestMapping("proprietary/order/info/{orderId}")
    public R info(@PathVariable("orderId") Integer orderId);


}
